package cn.scm.server.multistage.controller;

import cn.scm.server.multistage.dto.*;
import cn.scm.server.multistage.param.TransferReqParam;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;

/**
 * 转让管理
 *
 * @author makejava
 * @since 2020-09-23 20:53:49
 */
@Slf4j
@RestController
@RequestMapping("transfer")
@Api(tags = "转让管理")
public class BizTransferController {


    @GetMapping("wuXinOrderQuery")
    @ApiOperation("悟信列表查询接口（与开单查询状态不一样）")
    public List<OpenOrderRespParam> wuxinOrderQuery(@RequestBody WuXinOrderReqParam req) {
        System.out.println(req.toString());
        return new ArrayList<OpenOrderRespParam>();
    }

    @GetMapping("virtualPropertyQuery")
    @ApiOperation("虚拟资产列表接口")
    public @ApiParam("响应参数") List<VirtualPropertyRespParam> oneWuxinOrderQuery(@ApiParam("查询参数") @RequestBody VirtualPropertyReqParam req) {
        return new ArrayList<VirtualPropertyRespParam>();
    }

    @GetMapping("oneVirtualProperty")
    @ApiOperation("虚拟资产查看接口")
    public OneOpenOrderRespParam oneVirtualProperty(@ApiParam("虚拟资产ID") @RequestParam String id) {
        return new OneOpenOrderRespParam();
    }

    @GetMapping("transferList")
    @ApiOperation("转让申请列表接口")
    public List<TransferRespParam> transferList(@RequestBody TransferReqParam req) {
        return new ArrayList<TransferRespParam>();
    }

    @GetMapping("transferApply")
    @ApiOperation("转让申请提交接口")
    public List<TransferRespParam> transferApply1(@RequestBody WuXinOrderReqParam wx) {
        return new ArrayList<TransferRespParam>();
    }















}